package com.atguigu.springcloud0419;

import java.time.ZonedDateTime;

public class TimeDemo01 {
    public static void main(String[] args) {
        ZonedDateTime zbj = ZonedDateTime.now();//默认时区
        System.out.println(zbj);
        //2021-08-20T21:47:15.279+08:00[Asia/Shanghai]
    }
}
